<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled Document</title>
</head>

<body>
<?
include "../configdb.php";
$sql="delete from custome where cus_id='$cus_id'";
$query=mysql_db_query($dbname,$sql);
echo $sql;
if($query)
{?>
<script>
alert("ลบเรียบร้อยแล้ว");
</script>
<?
print "<meta http-equiv='refresh' content='1;url=customers.php'>" ;
}
else{
?>
<script>
alert("ลบไม่ได้");
</script>

<?
print "<meta http-equiv='refresh' content='1;url=customers.php'>" ;
}



?>

</body>
</html>
